/*
 * RockLayer.h
 *
 *  Created on: Oct 18, 2012
 *      Author: quyetnd
 */

#ifndef ROCKLAYER_H_
#define ROCKLAYER_H_
#include "cocos2d.h"
USING_NS_CC;

class RockLayer : public CCLayer{
protected:
	float posY_;

	CCSprite* rockLeft1;
	CCSprite* rockRight1;

	CCSprite* rockLeft2;
	CCSprite* rockRight2;

	void move(float dY);
public:
	RockLayer();
	virtual ~RockLayer();

	virtual void moveUp(float dt);
	virtual void moveDown(float dt);

	LAYER_NODE_FUNC(RockLayer);
};

#endif /* ROCKLAYER_H_ */
